Class com.symantec.itools.swing.JCurrencyTextField
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.swing.JCurrencyTextField

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----JComponent
                           |
                           +----JTextComponent
                                   |
                                   +----JTextField
                                           |
                                           +----com.symantec.itools.swing.JCurrencyTextField

public class JCurrencyTextField
extends JTextField

Constructor Index

 o com.symantec.itools.swing.JCurrencyTextField()
 o com.symantec.itools.swing.JCurrencyTextField(int)
 o com.symantec.itools.swing.JCurrencyTextField(String)
 o com.symantec.itools.swing.JCurrencyTextField(String, int)
 o com.symantec.itools.swing.JCurrencyTextField(Document, String, int)

Method Index

 o addNotify()
This is a standard AWT method which gets called when this component is added to a container.
 o badLocException()
 o cut(Clipboard)
 o cut()
 o docChange(DocumentEvent)
 o docInsert(DocumentEvent)
 o docRemove(DocumentEvent)
 o format()
 o getATMmode()
 o getCurrencySymbol()
 o getDataText()
 o getDecimalPoint()
 o getDigitsAfterDecimal()
 o getSeparator()
 o isCurrencyLeading()
 o isSeparatorEnabled()
 o paste(Clipboard)
 o paste()
 o processComponentKeyEvent(KeyEvent)
 o removeNotify()
This method gets called when this component is removed from a container.
 o setATMmode(boolean)
 o setCurrencyLeading(boolean)
 o setCurrencySymbol(String)
 o setDecimalPoint(char)
 o setDigitsAfterDecimal(int)
 o setDocument(Document)
 o setFormattedText(String)
 o setSeparator(char)
 o setSeparatorEnabled(boolean)

Constructors

 o JCurrencyTextField
public JCurrencyTextField()
 o JCurrencyTextField
public JCurrencyTextField(int numberOfColumns)
 o JCurrencyTextField
public JCurrencyTextField(String initialText)
 o JCurrencyTextField
public JCurrencyTextField(String initialText,
                          int numberOfColumns)
 o JCurrencyTextField
public JCurrencyTextField(Document doc,
                          String initialText,
                          int numberOfColumns)

Methods

 o addNotify
public synchronized void addNotify()
This is a standard AWT method which gets called when this component is added to a container.

Overrides:
addNotify in class JComponent
See Also:
removeNotify
 o badLocException
protected void badLocException()
 o cut
public synchronized void cut(Clipboard clipboard)
 o cut
public void cut()
Overrides:
cut in class JTextComponent
 o docChange
protected void docChange(DocumentEvent e)
 o docInsert
protected void docInsert(DocumentEvent e)
 o docRemove
protected void docRemove(DocumentEvent e)
 o format
public synchronized void format()
 o getATMmode
public boolean getATMmode()
 o getCurrencySymbol
public java.lang.String getCurrencySymbol()
 o getDataText
public synchronized java.lang.String getDataText()
 o getDecimalPoint
public char getDecimalPoint()
 o getDigitsAfterDecimal
public int getDigitsAfterDecimal()
 o getSeparator
public char getSeparator()
 o isCurrencyLeading
public boolean isCurrencyLeading()
 o isSeparatorEnabled
public boolean isSeparatorEnabled()
 o paste
public synchronized void paste(Clipboard clipboard)
 o paste
public void paste()
Overrides:
paste in class JTextComponent
 o processComponentKeyEvent
protected void processComponentKeyEvent(KeyEvent e)
Overrides:
processComponentKeyEvent in class JTextComponent
 o removeNotify
public synchronized void removeNotify()
This method gets called when this component is removed from a container. Typically, it is used to destroy the peers of this component and all its subcomponents. It has been overridden here to call removeKeyListener.

Overrides:
removeNotify in class JComponent
See Also:
addNotify
 o setATMmode
public void setATMmode(boolean b)
 o setCurrencyLeading
public void setCurrencyLeading(boolean b)
 o setCurrencySymbol
public void setCurrencySymbol(String s)
 o setDecimalPoint
public void setDecimalPoint(char c)
 o setDigitsAfterDecimal
public void setDigitsAfterDecimal(int n)
 o setDocument
public void setDocument(Document d)
Overrides:
setDocument in class JTextComponent
 o setFormattedText
public synchronized void setFormattedText(String data)
 o setSeparator
public void setSeparator(char c)
 o setSeparatorEnabled
public void setSeparatorEnabled(boolean b)

All Packages  Class Hierarchy  This Package  Previous  Next  Index